package com.siashan.toolkit.oss.aws;

import com.siashan.toolkit.oss.aws.core.AwsS3Config;
import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.regex.Pattern;

/**
 * AWS S3 配置信息
 *
 * @author sias_han
 * @date 2025-06-05
 */
@Data
@ConfigurationProperties(prefix = AwsS3Properties.PREFIX)
public class AwsS3Properties {

    private static final Logger log = LoggerFactory.getLogger(AwsS3Properties.class);

    /**
     * Prefix of {@link AwsS3Properties}.
     */
    public static final String PREFIX = "siashan.oss.aws";

    private static final Pattern PATTERN = Pattern.compile("-(\\w)");

    /**
     * AWS S3 配置
     */
    private AwsS3Config config;

}
